﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CloudModels
{
    /// <summary>
    /// 网关数据实体
    /// </summary>
    public class GatewayData
    {
        /// <summary>
        /// 网关id
        /// </summary>
        public int? GatewayId { get; set; }
        /// <summary>
        /// 网关类别id
        /// </summary>
        public int? GatewayGroupId { get; set; }
        /// <summary>
        ///网关名称
        /// </summary>
        public string GatewayName { get; set; }
        /// <summary>
        /// Mac地址
        /// </summary>
        public string Mac { get; set; }
        /// <summary>
        /// 网关唯一标识符（保持表中的唯一性）
        /// </summary>
        public string GatewayTag { get; set; }
        /// <summary>
        /// 轮询时间单位毫秒（1000ms=1s)
        /// </summary>
        public int? PollingPeriod { get; set; }
        /// <summary>
        /// 超时时间，单位毫秒（1000ms=1s)
        /// </summary>
        public int? TimeoutPeriod { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateDate { get; set; }
        /// <summary>
        /// 录入人员id
        /// </summary>
        public Guid? RegUserId { get; set; }
        /// <summary>
        /// 录入用户名称
        /// </summary>
        public string RegUserName { get; set; }
        /// <summary>
        /// 返回地址
        /// </summary>
        public string ReturnUrl { get; set; }
    }
}
